<!DOCTYPE html>
<html>
    
    <head>
        <meta charset="UTF-8">
        <title>小鱼ADMIN</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <link rel="stylesheet" href="/public/static/css/font.css">
        <link rel="stylesheet" href="/public/static/css/bgadmin.css">
        <script type="text/javascript" src="/public/static/js/jquery-1.8.0.min.js"></script>
        <script type="text/javascript" src="/public/static/lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="/public/static/js/bgadmin.js"></script>
        <script type="text/javascript" src="/public/static/js/jquery.form.js"></script> 
    </head>
    
    <div class="bg-body">
            <form  action="#" method="post" id="mainForm" class="layui-form layui-form-pane">
                <div class="layui-form-item">
                    <label for="name" class="layui-form-label">
                        <span class="bg-red">*&nbsp;&nbsp;</span>品牌名称
                    </label>
                    <div class="layui-input-inline">
                        <input type="text" id="brand_name_id" name="brand_name" required="" lay-verify="required"
                        autocomplete="off" value="{$arrData.brand_name}" class="layui-input">
                    </div>
                </div>
                
                <div class="layui-form-item">
                    <label class="layui-form-label"><span class="bg-red">*&nbsp;&nbsp;</span>是否显示</label>
                    <div class="layui-input-inline">
                      <select name="brand_enabled" id="brand_enabled_id" lay-filter="aihao" required="" lay-verify="required">
                        <option value=""></option>
                        <option value="Y">显示</option>
                        <option value="N">不显示</option>
                      </select>
                    </div>
                </div>  

                <div class="layui-form-item">
                    <label for="name" class="layui-form-label">
                        <span class="bg-red">*&nbsp;&nbsp;</span>排序
                    </label>
                    <div class="layui-input-inline">
                        <input type="text" id="brand_order_id" name="brand_order" required="" lay-verify="required"
                        autocomplete="off" value="{$arrData.brand_order}" class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item layui-form-text">
                    <label for="desc" class="layui-form-label">
                        描述
                    </label>
                    <div class="layui-input-block">
                        <textarea placeholder="请输入内容" id="brand_description_id" name="brand_description" class="layui-textarea">{$arrData.brand_description}</textarea>
                    </div>
                </div>
                <div class="layui-form-item">
                
                <a class="layui-btn" lay-submit="" id="save" lay-filter="add">增加</a>
                <button style="display: none;" class="layui-btn layui-btn-primary" id="reset" type="reset">
                        重置
                </button>
              </div>
            </form>
            <input type="hidden" name="brand_id" id="brand_id" value="{$arrData.id}">
        </div>
    </body>
    <script type="text/javascript">
    $(function(){
        $("#brand_enabled_id").val("{$arrData.brand_enabled}");
    })
    </script>
	<script type="text/javascript" src="/public/static/crm/js/goodsBrand/editBrand.js"></script>
</html>